# 定义一个函数,来计算苹果的价格(重量*价格); 通过键盘输入重量和价格,然后调用函数来计算;

def count(weight, price):
    return weight * price


if __name__ == '__main__':
    weight, price = input("input weight and price, to split by ',':").split(',')
    weight = int(weight)
    price = int(price)
    print(count(weight, price))
